﻿namespace CSharp_1209.Exam4
{
    public class Employee
    {
        private string _name;
        private string _address;
        private string _phone;
        private double _salary;

        public string Name
        {
            get { return _name; }
            set { _name = value; }
        }

        public string Address
        {
            get { return _address; }
            set { _address = value; }
        }

        public string Phone
        {
            get { return _phone; }
            set { _phone = value; }
        }

        public double Salary
        {
            get { return _salary; }
            set { _salary = value; }
        }

        public Employee()
        {

        }

        public Employee(string name, string address, string phone, double salary)
        {
            Name = name;
            Address = address;
            Phone = phone;
            Salary = salary;
        }
    }
}
